﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using System.ServiceModel.Web;
using RESTRecursoService.Dominio;

namespace RESTRecursoService
{
    [ServiceContract]
    public interface ITipos
    {
        [OperationContract]
        [WebInvoke(Method = "GET", UriTemplate = "Tipos", ResponseFormat = WebMessageFormat.Json)]
        List<Tipo> ListarTipos();
    }
}
